﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LANmine
{
    public partial class AboutForm : Form
    {
        private Language lmLang;

        public AboutForm(Language lmLang)
        {
            this.lmLang = lmLang;

            InitializeComponent();

            lblProductInfo.Text = Application.ProductName + " " + Application.ProductVersion;
        }

            #region Language Specifications
            /**
             * MainForm::ApplyLanguage()
             * ---------------------------
             * Overwrite all text properties of all elements in all forms with the right ones.
             */
            private void ApplyLanguage()
        {
            this.lblDevelopers.Text = this.lmLang.GetString("about.lblDevelopers");
            this.lblInfo.Text = this.lmLang.GetString("about.lblInfo");
        }
            #endregion
        
    }
}
